<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .div2{
            /*width:414px;*/
            /*height: 209px;*/
            /*border-width:1px 2px;*/
            /*border-style:solid;*/
            /*
            border-width:1px 2px 3px 4px;   取四个值
            border-left-width:  样式必填
            */
            /*border-width: 1px 2px 3px;*/
            /*border:5px solid red;*/

            /*border-style: solid;*/
            /*border-color: #00FF00;*/
            /*padding: 10px;*/
            /*margin:10px 20px 10px;*/
        }
        .div1{

            border: solid 5px red;
            padding: 10px;
      }
    </style>
</head>
<body>
    <div class = "div2"><img src="image/imgmario.png" alt="" class="div1"></div>
<!--    <div>这是一个盒子2</div>-->

</body>
</html>